/**
 *
 * Main Window of the application.
 * Things like Menu Bars, Toolbars, Dock widgets and stuff go in here.
 *
 */

#ifndef MAIN_WINDOW_HPP
#define MAIN_WINDOW_HPP

#include <QMainWindow>
#include <QAction>
#include <QMenuBar>
#include <QGridLayout>

#include "MainWidget.hpp"

class MainWindow : public QMainWindow{

Q_OBJECT

public:
  MainWindow(QWidget *parent = 0);
  virtual ~MainWindow();
private:
  void createMenuActions();
  void createMenus();

  QMenu *fileMenu;
  QMenu *editMenu;
  QMenu *formatMenu;
  QMenu *helpMenu;
  QAction *openAction;
  QAction *quitAction;
  QAction *preferencesAction;
  QAction *aboutAction;

  MainWidget *mainWidget;
private slots:
  void open();
  void quit();
  void preferences();
  void about();
};

#endif
